import React from 'react';
require('./iconfont.js');

class Aicon extends React.Component {

    render() {
        const {typeName,key} = this.props;

        return (
            <svg className="icon-svg" aria-hidden="true" key={key}>
                <use xlinkHref={`#${typeName}`} />
            </svg>
        )
    }


}

export default Aicon;
